<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="../../resources/cola-ui/semantic.css">
	<link rel="stylesheet" type="text/css" href="../../resources/cola-ui/cola.css">
	<script src="../../resources/jquery-2.1.3.js"></script>
	<script src="../../resources/cola-ui/3rd.js"></script>
	<script src="../../resources/cola-ui/semantic.js"></script>
	<script src="../../resources/cola-ui/cola.js"></script>
	<script src="../../resources/cola-ui/i18n/zh/cola.js"></script>

	<style>
	box {
		margin: 4px;
		padding: 8px;
		border: 1px solid #000;
	}
	</style>

	<script type="text/javascript">
		cola(function(model) {
			model.describe("companies", {
				provider: "//open-data.cola-ui.com/service/company"
			});
		});
	</script>
</head>
<body style="padding:1em;">
<ul>
	<li c-repeat="company in companies">
		<span c-bind="$index"></span>
		<a c-bind="company.name" c-href="company.url"></a>
	</li>
</ul>
</body>
</html>